<template>
  <div>
    <div class="top">
      <el-form ref="form" :model="form" label-width="80px" inline size="mini">
        <el-form-item>
          <el-input v-model="model" placeholder="请输入耳号"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" >查询</el-button>
        </el-form-item>
      </el-form>
    </div>
    <el-table :data="data" style="width: 100%" border>
      <el-table-column prop="prop" :label="item.label" width="width" v-for="item,index in data" :key="index" align="center">
      </el-table-column>
      <!-- 无数据 -->
      <template slot="empty">
        <div class="noData">
          <!--  v-show="data.length===0" -->
          <img src="@/assets/images/noData.png" />
          <p>暂无数据</p>
        </div>
      </template>
    </el-table>
  </div>
</template>

<script>
import {first} from '../constant/constant'
export default {
  name:'first',
  data() {
    return {
      data:first
    }
  },
}
</script>

<style>

</style>